package net.sf.odinms.net.channel.handler; 
  
import net.sf.odinms.client.MapleClient; 
import net.sf.odinms.net.AbstractMaplePacketHandler; 
import net.sf.odinms.tools.MaplePacketCreator; 
import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor; 
 
/** 
 * 
 * @author PurpleMadness 
 */ 
 
public class CloseChalkBoardHandler extends AbstractMaplePacketHandler { 
         
        @Override 
        public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) { 
            c.getPlayer().setChalkboard(null); 
            c.getPlayer().getMap().broadcastMessage(MaplePacketCreator.useChalkBoard(c.getPlayer().getId(), "", 0)); 
        } 
} 
